package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库位档案对象 bin
 * 
 * @author ruoyi
 * @date 2025-10-16
 */
public class Bin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库位编码 */
    private String binId;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String houseId;

    /** 库位名称 */
    @Excel(name = "库位名称")
    private String binName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdPerson;

    public void setBinId(String binId) 
    {
        this.binId = binId;
    }

    public String getBinId() 
    {
        return binId;
    }

    public void setHouseId(String houseId) 
    {
        this.houseId = houseId;
    }

    public String getHouseId() 
    {
        return houseId;
    }

    public void setBinName(String binName) 
    {
        this.binName = binName;
    }

    public String getBinName() 
    {
        return binName;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setCreatedPerson(String createdPerson) 
    {
        this.createdPerson = createdPerson;
    }

    public String getCreatedPerson() 
    {
        return createdPerson;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("binId", getBinId())
            .append("houseId", getHouseId())
            .append("binName", getBinName())
            .append("createdAt", getCreatedAt())
            .append("createdPerson", getCreatedPerson())
            .toString();
    }
}
